package com.itheima.leadnews.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dto.ApAssociateWordDto;
import com.heima.model.search.dto.SearchDto;

import java.io.IOException;

public interface SearchService {
    ResponseResult search(SearchDto dto) throws IOException;

    ResponseResult associateSearch(ApAssociateWordDto dto) throws IOException;
}
